export default function () {
  return {
<#list module.requiredFields as field>
<#if (field.constraint)?? && field.constraint.required>
    ${field.name}: [
      {required: true, message: '${field.explain}项必填', trigger: 'blur'}
    ]<#if field_has_next>, </#if>
</#if>
</#list>
  }
}